{extend name="public:_base" }
{block name="main"}
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/index.css"/>

<style>
    .page-container {
        padding: 0 30px;
    }

    .panel-body {
        padding: 15px 0;
    }
    .info-box {
        display: block;
        min-height: 90px;
        width: 100%;
        border-radius: 2px;
        margin-bottom: 15px;

        background-color: #ccc;
        /*box-shadow: 0 1px 1px rgba(0,0,0,0.1);*/
        /*background: #fff;*/
        /*border: 1px solid #ccc;*/
    }
    .info-box-icon {
        border-top-left-radius: 2px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 2px;
        display: block;
        float: left;
        height: 90px;
        width: 90px;
        text-align: center;
        font-size: 45px;
        line-height: 90px;
        background: rgba(0,0,0,0.2);

    }
    .fore a:hover{
        text-decoration: none;
    }
    .info-box-content {
        padding: 5px 10px;
        margin-left: 90px;
    }
    .info-box-number {
         display: block;
         font-weight: bold;
         font-size: 18px;
     }

    /*快捷入口*/
    .index_box section {
        border: 1px solid #ddd;
        background: #fff!important;
        margin-bottom: 10px;
    }
    .index_box section h4 {
        height: 38px;
        line-height: 38px;
        padding-left: 15px;
        background: #cccccc;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
        font-weight: normal;
        color: #656565;
        position: relative;
        margin-top: 0px;
    }
    i.fa {
        font-size: 14px;
        vertical-align: middle;
        margin-right: 4px;
    }
    .fa {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .index_point ul {
        height: 85px;
        padding: 10px;
    }
    .index_point ul li {
        float: left;
        height: 85px;
        width: 20%;
        text-align: center;
        position: relative;
        cursor: pointer;
    }
    .index_point ul li a {
        color: #777;
        display: block;
        font-size: 14px;
        text-decoration: none;
    }
    .index_point ul li a:hover {
        color: #3b639f;
    }
    .index_point ul li a i {
        display: block;
        font-size: 30px;
        margin: 17px 0px 2px;
    }
    .index_point ul li i.Hui-iconfont-slider-right {
        display: block;
        font-size: 30px;
        position: absolute;
        right: -10px;
        top: 50%;
        margin-top: -15px;
        color: #eee;
    }


</style>

<div class="page-container">
    <div class="index_box"  style="margin-top: 20px;margin-bottom: 20px;">
        <section class="index_point hidden-xs">
            <h4>快捷入口</h4>
            <div class="container-fluid">
                <ul>
                    <li>
                        <a data-title="基本信息"  onclick="edit('基本信息','{:url(\'system/index\',[\'type\'=>\'system\'])}')"  href="javascript:;">
                            <i class="fa Hui-iconfont Hui-iconfont-manage"></i>
                            基本信息
                        </a>
                        <i class="fa Hui-iconfont Hui-iconfont-slider-right"></i>
                    </li>
                    <li>
                        <a data-title="栏目管理" onclick="edit('栏目管理','{:url(\'nav/index\')}')" href="javascript:;">
                            <i class="fa Hui-iconfont Hui-iconfont-fenlei"></i>
                            栏目管理
                        </a>
                        <i class="fa Hui-iconfont Hui-iconfont-slider-right"></i>
                    </li>
                    <li>
                        <a data-title="模板管理" href="/{$Request.module}-setview-index-dir-{:cache('systemsystem' . cookie('think_var_admin'))['pctemplate']['value']}-type-pc.html"  href="javascript:;">
                            <i class="fa Hui-iconfont Hui-iconfont-moban"></i>
                            模板管理
                        </a>
                        <i class="fa Hui-iconfont Hui-iconfont-slider-right"></i>
                    </li>
                    <li>
                        <a data-title="添加幻灯片" onclick="edit('添加幻灯片','{:url(\'carousel/index\')}')" href="javascript:;">
                            <i class="fa Hui-iconfont Hui-iconfont-add"></i>
                            添加幻灯片
                        </a>
                        <i class="fa Hui-iconfont Hui-iconfont-slider-right"></i>
                    </li>
                    <li>

                        <a href="javascript:void(0);" class="bds_more bdsharebuttonbox bdshare-button-style2-32" data-cmd="more" >
                            <i class="fa Hui-iconfont Hui-iconfont-share2"></i>分享成果
                        </a>
                            <script>
                                window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"{:cache('systemsystem' . cookie('think_var_admin'))['title']['value']}","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16","bdUrl":"{$Request.domain}","bdRootPath":""},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

                    </li>
                </ul>
            </div>
        </section>


    </div>
    <div class=" panel-warning" style="margin-top: 20px;margin-bottom: 20px; display: none">
        <div class="panel-header">欢迎登陆企业管理系统</div>
        <!--
        <div class="panel-body">
            <table class="table table-border table-bordered table-bg">
                <tbody>
                <tr>
                    <th>登陆用户</th>
                    <td>admin</td>
                </tr>
                <tr>
                    <th>上次登录时间：</th>
                    <td></td>
                </tr>
                </tbody>
            </table>
        </div>
        -->
    </div>

    <!--<p class="f-20 text-success">欢迎登陆<span class="f-14">企业管理系统</span></p>-->
    <!--<p>登陆用户：{$Admin.name}</p>-->
    <!--<p>上次登录IP：{$Admin.last_login_ip ?? ''} 上次登录时间：{notempty name="user.last_login_time"}{$Admin.last_login_time|date="Y-m-d H:i:s",###}{/notempty}</p>-->
    <!--新四大图标-->
    <div class="row fore">
        <div class="col-md-3 col-sm-6 col-xs-12" >
                
            <a data-title="查看所有新闻" onclick="edit('新闻','{:url('article/index',['notadd'=>'notadd'])}')" href="javascript:;">
            <div class="info-box btn-primary">
                <span class="info-box-icon"><i class="Hui-iconfont">&#xe616;</i></span>
                <div class="info-box-content">
                    <span class="info-box-text">新闻数量</span>
                    <span class="info-box-number">{$article}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12" style="display: none">
            <a data-title="查看所有招聘"  onclick="edit('招聘','{:url('jobapply/index',['notadd'=>'notadd'])}')" href="javascript:;">
            <div class="info-box btn-success">
                <span class="info-box-icon"><i class="Hui-iconfont">&#xe637;</i></span>
                <div class="info-box-content">
                    <span class="info-box-text">招聘数量</span>
                    <span class="info-box-number">{$jobapply}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
            </a>
        </div>
        <!-- /.col -->

        <!-- fix for small devices only -->
        <div class="clearfix visible-sm-block"></div>

        <div class="col-md-3 col-sm-6 col-xs-12" >
            <a data-title="查看所有展示"  onclick="edit('展示','{:url('ucase/index',['notadd'=>'notadd'])}')" href="javascript:;">
            <div class="info-box btn-warning ">
                <span class="info-box-icon "><i class="Hui-iconfont">&#xe6cf;</i></span>
                <div class="info-box-content">
                    <span class="info-box-text">展示数量</span>
                    <span class="info-box-number">{$ucase}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
            </a>
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12" >
            <a data-title="查看所有产品"  onclick="edit('产品','{:url('product/index',['notadd'=>'notadd'])}')" href="javascript:;">
            <div class="info-box btn-danger">
                <span class="info-box-icon"><i class="Hui-iconfont">&#xe616;</i></span>
                <div class="info-box-content">
                    <span class="info-box-text">产品数量</span>
                    <span class="info-box-number">{$product}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
            </a>
        </div>
        <!-- /.col -->

        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12" style="display: none">
            <a data-title="查看所有投稿" onclick="edit('投稿','{:url('article/index',['notadd'=>'notadd','contribute'=>'1'])}')" href="javascript:;">
                <div class="info-box btn-danger">
                    <span class="info-box-icon"><i class="Hui-iconfont">&#xe616;</i></span>
                    <div class="info-box-content">
                        <span class="info-box-text">投稿数</span>
                        <span class="info-box-number">{$articles}</span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
                <!-- /.info-box -->
            </a>
        </div>
        <!-- /.col -->
    </div>
    <!--/新四大图标-->

    <!-- 旧四大图标 -->
    <div class="panel-icon" style="display:none;">

        <!-- 1 -->
        <div class="panel-item">

            <div class="panel panel-primary">

                <div class="panel-heading">
                    <div class="panel-row">
                        <div class="panel-left">
                            <i class="panel-icon panel-icon01"></i>
                        </div>
                        <div class="panel-right text-right">
                            <div class="huge">{$article}</div>
                            <div>新闻数量</div>
                        </div>
                    </div>
                </div>
                <a data-title="查看所有新闻" href="{:url('article/index',['notadd'=>'notadd'])}"  href="javascript:;">
                    <div class="panel-footers">
                        <span class="pull-left">查看更多</span>
                        <span class="pull-right"><i class="panel-arrow-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <!-- #1 -->

        <!-- 1 -->
        <div class="panel-item">
            <div class="panel panel-green">
                <div class="panel-heading">
                    <div class="panel-row">
                        <div class="panel-left">
                            <i class="panel-icon panel-icon02"></i>
                        </div>
                        <div class="panel-right text-right">
                            <div class="huge">{$jobapply}</div>
                            <div>招聘数量</div>
                        </div>
                    </div>
                </div>
                <a data-title="查看所有招聘" href="{:url('jobapply/index',['notadd'=>'notadd'])}"  href="javascript:;">
                    <div class="panel-footers">
                        <span class="pull-left">查看更多</span>
                        <span class="pull-right"><i class="panel-arrow-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <!-- #1 -->

        <!-- 1 -->
        <div class="panel-item">
            <div class="panel panel-yellow">
                <div class="panel-heading">
                    <div class="panel-row">
                        <div class="panel-left">
                            <i class="panel-icon panel-icon03"></i>
                        </div>
                        <div class="panel-right text-right">
                            <div class="huge">{$ucase}</div>
                            <div>展示数量</div>
                        </div>
                    </div>
                </div>
                <a data-title="查看所有展示" href="{:url('ucase/index',['notadd'=>'notadd'])}"  href="javascript:;">

                    <div class="panel-footers">
                        <span class="pull-left">查看更多</span>
                        <span class="pull-right"><i class="panel-arrow-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <!-- #1 -->

        <!-- 1 -->
        <div class="panel-item">
            <div class="panel panel-red">
                <div class="panel-heading">
                    <div class="panel-row">
                        <div class="panel-left">
                            <i class="panel-icon panel-icon04"></i>
                        </div>
                        <div class="panel-right text-right">
                            <div class="huge">{$product}</div>
                            <div>产品数量</div>
                        </div>
                    </div>
                </div>
                <a data-title="查看所有产品" href="{:url('product/index',['notadd'=>'notadd'])}"  href="javascript:;">
                    <div class="panel-footers">
                        <span class="pull-left">查看更多</span>
                        <span class="pull-right"><i class="panel-arrow-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <!-- #1 -->



    </div>
    <!-- /旧四大图标 -->

    <div class="panel-primary clear">
        <div class="panel-body">
            <table class="table table-border  table-hover ">
                <thead>
                    <tr>
                        <th>用户名</th>
                        <th>{$Admin.name??'管理员'}</th>
                    </tr>
                </thead>

                <tbody>
                    <tr>
                        <th>上次登录IP</th>
                        <th>{$Admin.last_login_ip ?? ''}</th>
                    </tr>

                    <tr>
                        <th>上次登陆时间</th>
                        <th>{notempty name="Admin.last_login_time"}{$Admin.last_login_time|date="Y-m-d H:i:s",###}{/notempty}</th>
                    </tr>
                    {volist name="systemConfig" id="vo"}
                    <tr>
                        <th>{$key}</th>
                        <th>{$vo}</th>
                    </tr>
                    {/volist}
                </tbody>
            </table>
        </div>
    </div>

    <!--
    <div class=" panel-primary">
        <div class="panel-header">文章</div>
        <div class="panel-body">
            <table class="table table-border table-bg table-bordered">
                <thead>
                <tr>
                    <th >总数量</th>
                    <th><a onClick="edit('发布/查看-所有文章','{:url('article/index')}','10001')"
                                     href="javascript:;">{$article}</a></th>
                </tr>
                </thead>
                <tbody>
                <tr class="success">
                    <th>显示的数量</th>
                    <td>{$article}</td>
                </tr>
                <tr class="active">
                    <th>禁止的数量</th>
                    <td>{$article}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    -->

    <!--
    <div class=" panel-secondary ">
        <div class="panel-header"> 产品</div>
        <div class="panel-body">
            <table class="table table-border table-bg table-bordered">
                <thead>
                <tr>
                    <th >总数量</th>
                    <th><a onClick="edit('发布/查看-所有产品','{:url('product/index')}','10001')"
                           href="javascript:;">{$product}</a></th>
                </tr>
                </thead>
                <tbody>
                <tr class="success">
                    <th>显示的数量</th>
                    <td>{$product}</td>
                </tr>
                <tr class="active">
                    <th>禁止的数量</th>
                    <td>{$product}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    -->

    <!--
    <div class=" panel-success">
        <div class="panel-header">案例</div>
        <div class="panel-body">
            <table class="table table-border table-bg table-bordered">
                <thead>
                <tr>
                    <th >总数量</th>
                    <th><a onClick="edit('发布/查看-所有案例','{:url('ucase/index')}','10001')"
                           href="javascript:;">{$ucase}</a></th>
                </tr>
                </thead>
                <tbody>
                <tr class="success">
                    <th>显示的数量</th>
                    <td>{$ucase}</td>
                </tr>
                <tr class="active">
                    <th>禁止的数量</th>
                    <td>{$ucase}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    -->

    <div class="clear"></div>

    <!--<div class=" panel-warning" style="margin-top: 20px;display: none">-->
        <!--<div class="panel-header">服务器信息</div>-->
        <!--<div class="panel-body" style="padding: 0px;">-->
            <!--<table class="table table-border table-bordered table-bg">-->
                <!--<thead>-->
                <!--<tr>-->
                    <!--<th colspan="2" scope="col">填写信息</th>-->
                <!--</tr>-->
                <!--</thead>-->
                <!--<tbody>-->
                <!--{volist name="systemConfig" id="vo"}-->
                <!--<tr>-->
                    <!--<th>{$key}</th>-->
                    <!--<td>{$vo}</td>-->
                <!--</tr>-->
                <!--{/volist}-->

                <!--</tbody>-->
            <!--</table>-->
        <!--</div>-->
    <!--</div>-->

</div>

{/block}